package lzy.service.impl;

import lzy.entity.Base;
import lzy.mapper.BaseMapper;
import lzy.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class BaseServiceImpl implements BaseService {
    @Autowired
    private BaseMapper baseMapper;

    @Override
    public List<Base> findAll() {
        return baseMapper.findAll();
    }

    @Override
    public void addBase(lzy.entity.Base base) {
        baseMapper.insertBase(base);
    }
} 